package com.hxzy.jsp.dao;

import java.util.List;

import com.hxzy.jsp.entity.Post;

public interface PostDAO {
	int count();

	List<Post> findAll(int offset, int pageSize);

	List<Post> findUserLatestPosts(final long user, final int limit);

	Post find(final long id);
	
	List<Post> findMy(final String nickname);
	
	long hit(final long id);
}
